#coding=utf-8
from uliweb import expose

#可以省略直接引用
from uliweb import request, error, redirect


def __begin__():
    """
    用户验证 权限验证
    """
    from uliweb import functions
    functions.require_login()
    return functions.has_role()

@expose('/stat')
class StatisticalAnalysis(object):

    def __init__(self):
        from uliweb.orm import get_model
        
        
    def sthardware(self):
        """
        设备统计
        """
        return {}
